import heapq

heapq.heap